<?PHP 
$userid = isset($_COOKIE["gwt_userid"]) ? $_COOKIE["gwt_userid"] : "";
$zfb = isset($_COOKIE["gwt_zfb"]) ? $_COOKIE["gwt_zfb"] : "";
$phone = isset($_COOKIE["gwt_phone"]) ? $_COOKIE["gwt_phone"] : "";
$email = isset($_COOKIE["gwt_email"]) ? $_COOKIE["gwt_email"] : "";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name ="keywords" content="购物兔,购物兔返现网,购物兔省钱浏览器,聚划算返利,返现网,返利网,<?=$itemcatsname?>返现,<?=$itemcatsname?>返利,淘宝网返利,商城返利,京东返利,淘宝网<?=$itemcatsname?>返利,淘宝网<?=$itemcatsname?>打折,淘宝网<?=$itemcatsname?>促销,淘宝网<?=$itemcatsname?>秒杀,淘宝<?=$itemcatsname?>赠送"/>
<meta name="Description" content="购物兔是国内最知名的购物省钱浏览器，购物兔搜索<?=$itemcatsname?>的返现，可以购物省钱,返现最快，当天内直接到账，返现最安全，100%不漏单；无论您在淘宝网，还是京东、当当等其他商城购物，即使是促销价也能返现，实现折上再打折，真正省钱，是您网络购物省钱的首选！" />
<title>购物兔返现网-去淘宝购买<?=$itemcatsname?>拿返现，确认收货即可拿现金，赚兔币，换礼品！</title>
<LINK rel=stylesheet type=text/css href="../s/css/list.css">
<LINK rel=stylesheet type=text/css href="../s/css/common.css">
<LINK rel=stylesheet type=text/css href="../css/style.css">
<script type="text/javascript" src="../s/js/jquery-1.3.2.min.js"></script>
<SCRIPT type="text/javascript" src="../s/js/base64.js"></SCRIPT>
<SCRIPT type="text/javascript" src="../s/js/function.js"></SCRIPT>
<SCRIPT type="text/javascript" src="../s/js/taobao.js"></SCRIPT>
<SCRIPT type="text/javascript" src="../js/common.js"></SCRIPT>
<style type="text/css">
#main,.splistbox1,.splistbox1 ul { width:900px;}
.splistbox1 ul li { width:220px;}
.splistbox1 .title { width:182px;}
.splistbox1 ul li div { margin:0 auto;}
.SearchResults #nv,.SearchResults #fm { margin-left:20px;}
</style>
</head>
<body class="SearchResults">
<?php
include("../qqplus_header.php");
?>
<?php
//include("nav.tpl.php");
?>
<div id="main" style="font-size:12px; height:auto; position:relative;">
	<div style=" position:absolute; top:67px; right:25px; z-index:1111; background:url(../images/jg_bz.png) no-repeat; width:220px; height:54px;"><a style="height:54px; width:220px; line-height:200px; display:block; overflow:hidden;" title="更多详情" target="_blank" href="http://www.gouwutu.com/faq/help_faq1_01.html#n1-1">更多详情</a></div>
	<div>
		<?php
		include("searchbar.tpl.php");
		?>
        <div class="megas512" style="text-align:center; margin:10px 0"><?php
				pageft($total,$pagesize,1,0,0,10);
				echo $pagenav;?>
		</div>
		<div class="small_big" id="layerPic">
			<div class="sell_bg"></div>
			<div class="photo"><img src="http://www.gouwutu.com/new/s/images/pro_05.gif" /></div>
		 </div>
		<?php 
		if (isset($_GET["id"]) && $_GET["id"] != "")
		{
			if(!isset($SearchItem))
			{
				if(isset($TaobaokeItem) && count($TaobaokeItem) > 0 ){
				echo '<div style="height: 40px; line-height: 40px; font-size: 16px; text-align: center; font-weight: bold;margin-top:10px;">您要查找的商品没有返利哦！</div>'; 
				echo '<div style="border-bottom:1px solid #FBA880; padding:5px 0;"><img src="http://www.gouwutu.com/new/images/splist_title.jpg" alt="相关搜索结果" title="相关搜索结果" /></div>';
				}
			}else {
		?>
        <div class="splistbox0 splest_locate">
        	<?php
			$url=isset($_GET['url']) ? $_GET['url'] : '';
			if (strstr($url, "tracelog=jubuybigpic")||strstr($url, "tracelog=jubuyitnow")){ ?>
				<p class="spl_juhua"></p>
			<?php } ?>
         	<ul>
				<h2>您要查找的商品信息：</h2>
                <li class="loc_t"></li>
				<?php 
					$sptitle=str_replace("'","",$SearchItem["title"]);
					$gourl='http://www.gouwutu.com/new/q/gotoitem.php?iid='.$SearchItem["num_iid"].'&click_url='.urlencode($SearchItem["click_url"]).'&url='.urlencode($SearchItem["ref_url"]);
				?>
				<li class="loc_c">
					<div class="pic"><a href="<?=$gourl?>" target="_blank" index="<?=$i?>" layer="goods" class="checkLogin taopic" pic="<?=$SearchItem["pic_url"]?>_310x310.jpg"><SCRIPT language=javascript>setPic('<?php echo base64_encode($SearchItem["pic_url"]."_310x310.jpg")?>',136,136,'');</SCRIPT></a></div>
					<div class="title"><h2><a href="<?=$gourl?>" target="_blank" index="<?=$i?>" layer="goods" class="checkLogin taopic" ><?php echo $SearchItem["title"] ?></a></h2>
					<p>本期已售出 <?php echo $SearchItem["commission_num"] ?> 件 &nbsp;&nbsp;&nbsp;&nbsp;<?php if($SearchItem["type"]=="B"){echo " <img src=\"http://www.gouwutu.com/new/s/images/shangcheng.png\" alt=\"商城卖家\">";}else {echo " <img src=\"http://www.gouwutu.com/new/s/images/level_".$SearchItem["seller_credit"]["level"].".gif\" align=\"absmiddle\" />";} ?><br><font color="#999999">卖家：</font><?php echo $SearchItem["nick"];?>&nbsp;&nbsp;<a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=<?=$SearchItem["nick"]?>&site=cntaobao&s=2&charset=utf-8" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=<?=$SearchItem["nick"]?>&site=cntaobao&s=1&charset=utf-8" alt="点击这里给我发消息"/></a></p>
					</div>
                    <?php
						if (isset($_GET["yjia"]) && $_GET["yjia"] != "" && isset($_GET["kfan"]) && $_GET["kfan"] != "" && isset($_GET["xtu"]) && $_GET["xtu"] != "")
						{
					?>
                    <div class="rightdetail">
						<div class="taobao_j">
                        	<?php
								if (strstr($url, "tracelog=jubuybigpic")||strstr($url, "tracelog=jubuyitnow"))
									echo '<div class="jiage">聚划算价</div>';
								else
									echo '<div class="jiage">淘宝价：<b>'.$yjia.'</b> 元</div>';
							 ?>
							
							<div class="city"><?=$SearchItem["location"]["state"]?> <?=$SearchItem["location"]["city"]?></div>
							<div class="baozhang"><?php if(isset($SearchItem["consumer_protection"]) && $SearchItem["consumer_protection"]=="true"){echo "<img src=\"http://www.gouwutu.com/new/s/images/xiaobao.gif\" alt=\"已加入消费者保障服务\"><br>";}?></div>
						</div>
						<div class="fanmi">
							<div style=" position:relative; width:90px; float:right; margin-top:20px; margin-left:10px; *margin-left:5px; text-align:right"><a href="?q=<?php echo urlencode(strip_tags($SearchItem["title"]))?>"><img src="http://www.gouwutu.com/new/s/images/bibi.gif" alt="比比价格" /></a><br><br><a href="<?PHP echo $gourl; ?>" target="_blank" index=<?=$i?> layer="goods" class="checkLogin">马上购买拿返现</a></div>
							<div class="jiage">返现： <b><?php echo $kfan; ?></b> 元&nbsp;&nbsp;<span title="以最终成交额的 <?PHP echo round(0.6*$SearchItem["commission_rate"]/100)?>% 为准">(<span style="color:#f30"><?PHP echo round(0.6*$SearchItem["commission_rate"]/100,2)?>%</span>)</span><br><span>赠送：<b><?php echo $xtu; ?></b><span style="background: url(http://www.gouwutu.com/dh/images/jin2.gif) no-repeat right top; padding-right:19px; padding-bottom:1px;" title="兔币">个</span></span></div>
						</div>
				  </div>
                    <?php
						}else{
					?>
					<div class="rightdetail">
						<div class="taobao_j">
                        	<?php
								if (strstr($url, "tracelog=jubuybigpic")||strstr($url, "tracelog=jubuyitnow"))
									echo '<div class="jiage">聚划算价</div>';
								else
									echo '<div class="jiage">淘宝价：<b>'.$SearchItem["price"].'</b> 元</div>';
							 ?>
							
							<div class="city"><?=$SearchItem["location"]["state"]?> <?=$SearchItem["location"]["city"]?></div>
							<div class="baozhang"><?php if(isset($SearchItem["consumer_protection"]) && $SearchItem["consumer_protection"]=="true"){echo "<img src=\"http://www.gouwutu.com/new/s/images/xiaobao.gif\" alt=\"已加入消费者保障服务\"><br>";}?></div>
						</div>
						<div class="fanmi">
							<div style=" position:relative; width:90px; float:right; margin-top:20px; margin-left:10px; *margin-left:5px; text-align:right"><a href="?q=<?php echo urlencode(strip_tags($SearchItem["title"]))?>"><img src="http://www.gouwutu.com/new/s/images/bibi.gif" alt="比比价格" /></a><br><br><a href="<?PHP echo $gourl; ?>" target="_blank" index=<?=$i?> layer="goods" class="checkLogin">马上购买拿返现</a></div>
							<div class="jiage">返现： <b><?php echo round(0.6*$SearchItem["commission"],2) ?></b> 元&nbsp;&nbsp;<span title="以最终成交额的 <?PHP echo round(0.6*$SearchItem["commission_rate"]/100)?>% 为准">(<span style="color:#f30"><?PHP echo round(0.6*$SearchItem["commission_rate"]/100,2)?>%</span>)</span><br><span>赠送：<b><?php echo round(0.6*$SearchItem["commission"]*10); ?></b><span style="background: url(http://www.gouwutu.com/dh/images/jin2.gif) no-repeat right top; padding-right:19px; padding-bottom:1px;" title="兔币">个</span></span></div>
						</div>
				  </div>
                  	<?php
						}
					?>
				</li>
                 <li class="loc_b"></li>
			</ul>
       	</div>
		<?PHP 
				if(isset($TaobaokeItem) && count($TaobaokeItem) > 1 )
					echo '<div style="border-bottom:1px solid #FBA880; padding:5px 0;"><img src="http://www.gouwutu.com/new/images/splist_title.jpg" alt="相关搜索结果" title="相关搜索结果" /></div>';
			}	
		}
		?>
        
        <?PHP
		include("list".$list.".tpl.php");
		?>
		<div class="megas512" style="text-align:center; margin:30px 0"><?php
				pageft($total,$pagesize,1,0,0,10);
				echo $pagenav;?>
		</div>
	</div>
</div>	<?php
//	include("footer.tpl.php");
	?>
<?php
//include("../ft.php");
?>
</body>
</html>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-20984072-1");
pageTracker._trackPageview();
} catch(err) {}</script>

<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F7eb75a7b189f4a709dead85bc20eb0dd' type='text/javascript'%3E%3C/script%3E"));
</script>

